tools/xl: fix output of xl vcpu-pin dry run with smt=0
authorJuergen Gross <jgross@suse.com>
Mon, 3 Sep 2018 11:26:30 +0000 (13:26 +0200)
committerWei Liu <wei.liu2@citrix.com>
Wed, 5 Sep 2018 10:00:51 +0000 (11:00 +0100)
commit6de6c8d306c091eb7381575d250beaf2eeaf02df
tree1781db3e7c256b34426ef086396cb024887321cd
parente2f092127a8ce9c2b0538d1804329f364cc9da2c
tools/xl: fix output of xl vcpu-pin dry run with smt=0

Fix another smt=0 fallout: xl -N vcpu-pin prints only parts of the
affinities as it is using the number of online cpus instead of the
maximum cpu number.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xl/xl_vcpu.c